
Ext.define('ZO0.store.filter.Tree', {
    extend: 'Ext.data.TreeStore',

    model: 'ZO0.model.filter.Tree',

    proxy: {
        type: 'ajax',
        api: {
            read:   'what?do=google&ex=getTreeCategory',
            update: 'what?do=google&ex=updateTreeCategory'
        },
        reader: {
            type: 'json',
            root: 'data',
            successProperty: 'success'
        }
    }
});
